package file.ft;

import cn.hutool.core.io.FileUtil;
import file.FileCopy;

import java.io.File;

/**
 * @Author 史祥连
 * @Date 2023/11/16 18:32
 * @Version 1.0
 */
public class MoveFile {
    public static void main(String[] args) {
        String path = "C:\\Datas\\a\\test\\unzip";
        String targetStr = "C:\\Datas\\a\\test\\merge";
        File bashPath = new File(path);
        for (File file : bashPath.listFiles()) {
            FileUtil.copy(file.getAbsolutePath()+"\\ecology9",targetStr,true);
        }
    }
}
